package com.houbank.demo.rabbitmq.person.model;

import java.io.Serializable;

/**
 * Created by zhaoqiguo on 2016/9/22.
 */
public class PersonDO implements Serializable {
    private String id;
    private String userId;
    private String userName;
    private Integer age;

    public PersonDO() {
    }

    public PersonDO(String id, String userId, String userName, Integer age) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.age = age;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return this.age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String toString() {
        return "PersonDO{id=\'" + this.id + '\'' + ", userId=\'" + this.userId + '\'' + ", userName=\'" + this.userName + '\'' + ", age=" + this.age + '}';
    }
}

